<?php

return [
    'default' => 'tanwin',

    //我自己的阿里云OSS服务
    'my-server' => [
        'isInternal' => false, //是否是通过内网
        'ossServer' => 'http://oss-cn-hangzhou.aliyuncs.com',
        'ossServerInternal' => 'http://oss-cn-hangzhou-internal.aliyuncs.com',
        'ossUrl' => 'oss-cn-hangzhou.aliyuncs.com',
        'AccessKeyId' => 'x0iFVLi5gbbxT4oC',
        'AccessKeySecret' => 'uUQcAZbpdszw2broYrT9CwYcGO5daC',
        'bucket' => 'testtanya',
        'city' => '杭州',
        'networkType' => '经典网络',
    ],

    'testlwk' => [
        'isInternal' => false, //是否是通过内网
        'ossServer' => 'http://oss-cn-hangzhou.aliyuncs.com',
        'ossServerInternal' => 'http://oss-cn-hangzhou-internal.aliyuncs.com',
        'ossUrl' => 'oss-cn-hangzhou.aliyuncs.com',
        'AccessKeyId' => 'Tedwgmp8WJmWZ2ti',
        'AccessKeySecret' => '8xibp7HaoasTUgrWqkm0Dqm9PHNuYq',
        'image_bucket' => 'testlwk',
        'file_bucket' => 'testlwk',
        'img_ext' => ['jpg', 'jpeg', 'bmp', 'gif', 'png', 'pdf'],
        'city' => '杭州',
        'networkType' => '经典网络',
    ],
    'tanwin' => [
        'isInternal' => false, //是否是通过内网
        'ossServer' => 'http://oss-cn-hangzhou.aliyuncs.com',
        'ossServerInternal' => 'http://oss-cn-hangzhou-internal.aliyuncs.com',
        'ossUrl' => 'oss-cn-hangzhou.aliyuncs.com',
        'AccessKeyId' => 'Tedwgmp8WJmWZ2ti',
        'AccessKeySecret' => '8xibp7HaoasTUgrWqkm0Dqm9PHNuYq',
        'image_bucket' => 'tanwinimages',
        'file_bucket' => 'tanwinfiles',
        'img_ext' => ['jpg', 'jpeg', 'bmp', 'gif', 'png', 'pdf'],
        'city' => '杭州',
        'networkType' => '经典网络',
    ],

    //ueditor上传文件时的配置，其他配置见UEditorUpload.php
    'ueditor_oss' => [
        'oss_server' => 'tanwin',
        'image_dir' => 'paratext/' . date('Y-m-d') . '/' . mt_rand(100000, 999999), //包括图片和文件
        'bucket' => 'tanwinfiles',
        'bucketUrl' => 'http://tanwinfiles.oss-cn-hangzhou.aliyuncs.com/',
        'city' => '杭州',
        'networkType' => '经典网络',
    ],
];
